package com.yegs.jltqc.service;

import com.yegs.jltqc.TO.NamePageQuery;
import com.yegs.jltqc.VO.Quality;
import com.yegs.jltqc.VO.Supplier;
import org.springframework.data.domain.Page;

import java.util.List;

public interface SupplierService {

    Supplier save(Supplier quality);

    List<Supplier> list();

    Long getNext(Long id);

    Long getLast(Long id);

    Supplier get(Long id);

    Supplier get(String cvencode);

    void del(Long id);
    Page<Supplier> query(NamePageQuery query);
}
